        public int OpenCommPort(string port)
        {

        }

        public void CloseCommPort()
        {

        }



        public Socket sock;
        public int TcpConnectReader(string ip, int port)
        {


        }

        public int TcpCloseConnect()
        {

        }



        public int GetTagData(ref byte[,] tag_data, byte tag_cnt)
        {

        }

        public int ClearIdBuf()
        {

        }

        public int GetFirmwareVersion(ref byte v1, ref byte v2)
        {

        }

        public int SetRf(byte power, byte freq_type)
        {

        }

        public int GetRf(ref byte power, ref byte freq_type)
        {

        }

        public int SetAnt(byte ant)
        {


        }

        public int GetAnt(ref byte ant)
        {

        }

        public int IsoMultiTagIdentify(ref byte[,] tag_buf, ref byte tag_cnt)
        {

        }

        public int IsoRead(byte addr, ref byte[] value)
        {

        }

        public int IsoWrite(byte addr, byte value)
        {

        }

        public int IsoLock(byte addr)
        {

        }

        public int EpcMultiTagIdentify(ref byte[,] tag_buf, ref byte tag_cnt, ref byte tag_flag)
        {


        }

        public int EpcLockTag(byte MemBank)
        {

        }

        public int EpcInitEpc(byte bit_cnt)
        {

        }

        public int EpcRead(byte membank, byte wordptr, byte wordcnt, ref byte[] value)
        {

        }

        public int EpcWrite(byte membank, byte wordptr, ushort value)
        {

        }

    }
}